package Funcionalidad;

public class Usuario {

    private String user = null;
    private String pass = null;
    private String email = null;
    private int rol=-1;

    public Usuario(String user, String pass, String email, int rol) {
        this.user = user;
        this.pass = pass;
        this.email = email;
        this.rol = rol;

    }
    public Usuario() {
        this.setUser("");
        this.setPass("");
        this.setEmail("");
        this.setRol(-1);
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public int getRol() {
        return rol;
    }

    public void setRol(int rol) {
        this.rol = rol;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

}
